package com.acegear.horizon.domain.events;

/**
 * Created by guoweike on 17/4/10.
 */
public class ClubClaimEvent extends BaseEvent {

  private Long clubId;
  private Long claimId;
  private Long userId;
  private String name;
  private String info;
  private String phone;
  private String linkman;
  private String number;
  private String address;


  public ClubClaimEvent(Long clubId, Long claimId, Long userId, String name, String info,
                        String phone, String linkman, String number, String address) {
    this.clubId = clubId;
    this.claimId = claimId;
    this.userId = userId;
    this.name = name;
    this.info = info;
    this.phone = phone;
    this.linkman = linkman;
    this.number = number;
    this.address = address;
    genEventId();
  }

  public ClubClaimEvent() {
  }

  public Long getClaimId() {
    return claimId;
  }

  public void setClaimId(Long claimId) {
    this.claimId = claimId;
  }

  public Long getClubId() {
    return clubId;
  }

  public void setClubId(Long clubId) {
    this.clubId = clubId;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getInfo() {
    return info;
  }

  public void setInfo(String info) {
    this.info = info;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getLinkman() {
    return linkman;
  }

  public void setLinkman(String linkman) {
    this.linkman = linkman;
  }

  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  @Override
  public String routingKey() {
    return "horizon.domain.club.createClaim";
  }
}
